<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ page import="com.bosch.in.rtp1.ept.constant.FXFactorConstant;"%>
<link href="css/modifiedJUI.css" type="text/css" rel="stylesheet"></link>
<script type="text/javascript" src="js/colorSetting.js"></script>
<div id="dialog-message" title="Error" class="ui-dialog-text" style="text-align: center;">
	<br/> 
    <p>
        Wrong input value!
    </p>
</div>
<form name="colorCondition" action="saveColorSetting.do?cmd=saveColorSetting" method="POST">
<div id="filterHeader" class="ui-jqgrid ui-widget ui-corner-all">
	<div class = "ui-jqgrid-view">
		<div class="ui-jqgrid-titlebar ui-widget-header ui-corner-top ui-helper-clearfix">
				<span class="ui-jqgrid-title">Color Setting</span>
		</div>
	</div>
</div>
<table width="100%" border="0" class="box">
	<tbody>
		<tr>
		</tr>
		<tr>
				<td width="150px;" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px; width: 100%">Duration (day)</span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				
				<td width="120px">
					<html:select  name="colorCondition" property="redDurationOp" styleClass="DropDownTextBox" style="width:100%">
						<html:optionsCollection name="colorCondition" property="redDurationOperators" value="value" label="display"/>
					</html:select>
				</td>
				<td width="80px">
				</td>
				<td width="60px">
					<html:text name="colorCondition" property="redDuration" style="width:100%"></html:text>
				</td>
				<td width="80px">
				</td>
				<td width="100px">
					<span style="display:inline-block;font-size: 16px; background-color: #FE4545; width: 100%"> &nbsp; </span>
				</td>
				<td width="80px"></td>
				<td >
				</td>
		</tr>
		<tr>	
				<td width="150px;" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;width:100%">Duration (day)</span>
				</td>
				<td> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				<td width="120px"> 
					<html:select  name="colorCondition" property="yellowDurationOp" styleClass="DropDownTextBox" style="width:100%">
						<html:optionsCollection name="colorCondition" property="yellowDurationOperators"  value="value" label="display"/>
					</html:select>
				</td>
				<td width="80px">
				</td>	
				<td width="60px">
					<html:text name="colorCondition" property="yellowDuration" style="width:100%"></html:text>
				</td>
				<td width="80px">
				</td>
				<td width="100px">
					<span style="display:inline-block;font-size: 16px; background-color: yellow; width: 100%"> &nbsp; </span> 
				</td>
				<td width="80px">
				</td>
				<td nowrap="nowrap">
					<a class="bosch_button_style" href="javascript:openConfirmBox();">Save</a>
					<a class="bosch_button_style" href="javascript:window.location.href='colorSetting.do?cmd=colorSetting';" style='margin-left: 5;'>Refresh</a>
				</td>
				
		</tr>
		
	</tbody>
</table>
</form>
